<div class="depot-form">
  <%= error_messages_for 'foundmode' %>
  <fieldset>
    <legend>Enter County Details</legend>
    <% form_for(@foundmode) do |form| %>
      <p>
        <label for="name" >FoundMode Name:</label>
        <%= form.text_field :name, :size => 40 %>
      </p> 
      <p>
        <label for="code" >FoundMode Code:</label>
        <%= form.text_field :code, :size => 40 %>
      </p>    
      <%= submit_tag "Update Found Mode" , :class => "submit" %>
    <% end %>
  </fieldset>
  <%= link_to 'Back', :action => "index" %>
</div>